import logging
def log_send():
    logging.basicConfig(filename='log.txt',filemode='w+',level=logging.DEBUG,format='%(filename)s->%(message)s')